package com.mytinyRPC.thirdprovider.impl;


import com.mytinyRPC.api.MyProviderService;
import com.mytinyRPC.framework.autoScan.annotate.RpcService;

/***
 * @Author HP
 * @Description //服务类
 **/
@RpcService
public class MyProviderServiceImpl implements MyProviderService {

    public String sayHello(String username) {
        return "Hello,"+username+"，调用成功";
    }


    public Object giveSomething(Object o) {
        return o;
    }


    public String sayGoodBye(String username) {
        return "GoodBye,"+username;
    }
}
